package tech.aistar.mapper;

import tech.aistar.model.entity.Customer;
import tech.aistar.model.entity.Job;

import java.util.List;

public interface CustomerMapper {

    /**
     * 查询所有
     * @return
     */
    List<Customer> findAll();

    /*
    根据id查询客户
     */
    Customer getById(Integer id);

    Customer getByName(String name);

    Customer getByEmail(String email);

}
